FROM node:22-slim
RUN mkdir /app
WORKDIR /app
COPY . .

ENV NODE_ENV production
ENV TZ Asia/Shanghai

RUN corepack enable && pnpm i -P
ENTRYPOINT node ./index.js
